<?php

namespace Standard\Bundle\ModuleProductBundle\Controller;

use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;

class ProductController extends Controller
{
    /**
     * @Route("/hello/{name}")
     * @Template()
     */
     public function showAction(){
        $service = $this->container->get('product.service');
    	echo $product = $service->getDemo(1);
        return $this->render('StandardModuleProductBundle:Product:show.html.twig');
    }
}
